#-*-coding:utf-8 -*-

from bypy import ByPy   
import os

workDir = os.getcwd()
scrShot_path = "%s\\ScrShots"%workDir
def baidu_syncup():
    print("baidu syncup")
    bp = ByPy()
    while(True):
        bp.syncup(localdir=scrShot_path, remotedir=u'ScrShots/', deleteremote=False)

baidu_syncup()